Gutenberg_Templates\Inc\Importer\Sync_Library B

Total Complexity 95
Dependencies 2
Dependents 3
Total lines 825
Lines of code 510
Logical lines of code 254
Comment lines 162
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
sync_via_ajax()
A
46 8 38
import_blocks()
A
45 7 42
import_sites()
A
45 7 40
import_categories()
A
46 7 38
process_data_sync()
S
53 7 22
ajax_import_sites()
S
49 6 30
ajax_import_blocks()
S
50 6 29
set_last_export_checksums()
S
55 5 19
check_checksum_and_get_blocks_data()
S
50 4 27
get_total_blocks_requests()
S
51 4 26
get_total_sites_count()
S
51 4 26
get_server_astra_customizer_css()
S
56 4 17
process_sync()
S
59 4 14
set_default_assets()
S
60 4 12
ajax_blocks_requests_count()
S
54 3 24
ajax_sites_requests_count()
S
54 3 23
get_last_export_checksums()
S
62 3 12
ajax_import_categories()
S
60 2 14
sync_blocks()
S
61 2 12
get_default_assets()
S
55 1 23
setup_templates()
S
67 2 8
update_latest_checksums()
S
70 1 6
__construct()
S
66 1 8